Purpose |
AMEX Remittance |
Requested By |
Babu |
Spec Created By |
Raghav |
Spec Created Date |
10/27/2016 |
Spec QA by |
Raghav |
Objects |
ZAMREM ZFI_AMEX_REMITT_EXTRACT ZFI_AMEX_REMIT TDDAT TVDIR ZFI_AMEX_REMITS ZAMEX_IBCP ZAMEX_REMIT |
Document Status |
WIP |
Sl.No |
Activity |
Estimation in Hours |
1 |
Research |
24 |
2 |
Documentation |
08 |
3 |
Development/ Config |
46 |
4 |
Unit test in DEV |
30 |
5 |
Unit test in QUA |
20 |
6 |
Other activity |
|
TOTAL |
128 |
Sl. |
Change Details |
Requested By |
Requested On |
Notes if any |
1 |
AMEX Payments no need separate payments and develop the custom program to generate the AMEX remittance file |
Babu |
11/15/2016 |
Stopped by Babu on 11/30/2016 |
2 |
AMEX remittance will run in background once a week or biweekly, which will include all the payments of the AMEX vendor till the date from the previous run |
Babu |
11/17/2016 |
Stopped by Babu on 11/30/2016 |
3 |
AMEX file will run in foreground immediate after the APP run, custom program input screen should have Run data and identification. |
Babu |
11/30/2016 |
|
4 |
New payment method must be created for AMEX and assign to all company codes as per their respective payments |
Babu |
11/30/2016 |
|
5 |
Invoice line item text will have fixed length and constant text before card details start Example: AMEX US IBCP 374922XXXXX8004 |
Babu |
11/30/2016 |
|
6 |
Error log for the unprocessed invoices with card mismatch |
Babu |
11/30/2016 |
|
7 |
AMEX remittance file name NEWERA.USREMIT change to NEWERA.USREMIT_YYYYMMDDIDENT |
Babu |
12/02/2016 |
File name change on 12/10/2016 |
8 |
Add Test indicator in screen |
Babu |
12/10/2016 |
|
9 |
New transaction for custome table ZAMEX_IBCP and program ZAMEX_REMIT |
Babu |
12/12/2016 |
Company code |
EMP ID |
Vendor |
AMEX Card No |
Run Date |
REGUP-LAUFD |
Identification |
REGUP-LAUFI |
Required fields for development |
Logic to get the info for fields |
|||||||
Step 1 |
AMEX vendors |
Pick the AMEX vendors as per screen input and validate it with the custom table, if matched then pass in table REGUP-LIFNR and REGUP-LAUFD |
||||||
Step 2 |
AMEX vendors invoices |
Pass run date, vendors and company code from input screen to table REGUP to pick all the invoices/documents REGUP-BELNR and REGUP-GJAHR |
||||||
Step 3 |
AMEX credit cards |
To get the credit card numbers input the invoice in BSEG with company code and fiscal year to get the first 6 digits and last 4 digits from BSEG-SGTXT and match with the ZAMEX custom table |
||||||
Step 4 |
AMEX credit card amount |
Pick the amount from BSEG-WRBTR should match with posting key BSEG-BSCHL 31 and document no. BSEG-BELNR, if the credit card have multiple invoices sum up and show in as one record in remittance file |
Header |
||||
LOC |
Lenghth |
File Input |
SAP Fields |
Logic |
1-2 |
2 |
00 |
Hardcode |
Record Type |
3-12 |
10 |
015147 |
Hardcode with leading zeros |
Load Number (Assigned) |
13-20 |
8 |
YYYYMMDD |
REGUP-LAUFD |
Creation Date (yyyymmdd) |
21-26 |
6 |
160503 |
Hardcode |
CID (Assigned) |
27-30 |
4 |
6147 |
Hardcode |
Book Number (Assigned) |
31-32 |
2 |
00 |
Hardcode |
Processing Indicator |
33-34 |
2 |
TT |
Hardcode |
Test File Indicator |
35-36 |
2 |
01 |
Number varies for each run |
Input from TVRVC table to get numeric series starts with 01 E.G. first file will contain 01, second file 02, 99th file 99, 100th file rolls back to 01 |
37-220 |
184 |
Hardcode |
Filler |
|
Item |
||||
LOC |
BYTES |
File Input |
SAP Fields |
Logic |
1-2 |
2 |
10 |
Hardcode value 10 |
Record Type |
3 |
1 |
- |
Hardcode '-' |
Credit or Debit Amt Identifier |
4-15 |
12 |
$$$$$$$$$$$$ |
REGUP-WRBTR with leading zeros |
Proceed as Step 4 |
16-30 |
15 |
AMEXACCOUNT#### |
Custom table ZAMEX |
Proceed as Step 3 |
31-99 |
69 |
Space |
Hardcode space ' ' |
|
100-101 |
2 |
01 |
Message code hard code value 03 |
|
102-103 |
2 |
Hard code space ' ' |
Fill space for the length |
|
104-119 |
16 |
Hard code space ' ' |
Fill space for the length |
|
120-121 |
2 |
Hard code space ' ' |
Fill space for the length |
|
122-137 |
16 |
Hard code space ' ' |
Fill space for the length |
|
138-139 |
2 |
Hard code space ' ' |
Fill space for the length |
|
140-155 |
16 |
Hard code space ' ' |
Fill space for the length |
|
156-220 |
65 |
Spaces |
Hard code space ' ' |
Fill space for the length |
Total record |
||||
LOC |
BYTES |
File Input |
SAP Fields |
Logic |
1-2 |
2 |
99 |
Hardcode value 99 |
Record Type |
3 |
1 |
space |
Hard code space ' ' |
Filler |
4-15 |
12 |
TOTAL$$$$$$$ |
Sum of all amount in item record with leading zeros |
|
16-21 |
6 |
#RECRD |
Total count of item remittance amount with spaces at end |
Corporate Card Remittance Total Records |
22 |
1 |
space |
Hardcode |
Filler |
23-40 |
18 |
000000000000000000 |
Hardcode |
Zero filled |
41-220 |
180 |
Hardcode |
Filler |
Test ID |
Test Scenario |
Expected Results |
FI-001 |
AMEX remittance for company code 0010 with single invoice per file |
- File name should be in NEWERA.USREMI_RundateIDENT - File should seperate the lines as per card mentioned in invoice and table ZAMEX_IBCP - If card maintained in invoice not matched with ZAMEX_IBCP then invoice details should show in error log - If card details are not mentioned in invoice then no information shown in log |
FI-002 |
AMEX remittance for multiple company codes 0010 and 0011 and with multiple invoices per vendor |
- File name should be in NEWERA.USREMI_RundateIDENT - File should seperate the lines as per card mentioned in invoice and table ZAMEX_IBCP - All invoice with same card and vendor should sumup and show as single in file - If card maintained in invoice not matched with ZAMEX_IBCP then invoice details should show in error log - If card details are not mentioned in invoice then no information shown in log |
FI-003 |
AMEX remittance for multiple company codes 0010 and 0011 and with multiple invoices per multiple vendors |
- File name should be in NEWERA.USREMI_RundateIDENT - File should seperate the lines as per card mentioned in invoice and table ZAMEX_IBCP - All invoice with same card and vendor should sumup and show as single in file - If card maintained in invoice not matched with ZAMEX_IBCP then invoice details should show in error log - If card details are not mentioned in invoice then no information shown in log |